Shunday funksiya yozingki - u gapni string ko'rinishida olib, undagi 4tadan ko'p xarfli so'zlarni teskari ko'rinishiga keltirishi kerak. Masalan:
Input 1: "Bu python dasturlash tili" Output 1: "Bu nohtyp hsalrutsad tili"
Ko'rib turganingizdek, bu yerdagi gapda - faqatgina harflar soni 4tadan ko'p bo'lgan so'zlar teskarisiga almashtirilgan (python ➡️ nohtyp), agar so'zdagi harflar soni 4ta yoki undan kam bo'lsa so'z o'zgartirilmaydi!
Input 2: "Men uyga ketdim" Output 2: "Men uyga midtek"
Shunday funksiya yozingki - u gapni string ko'rinishida olib, undagi 4tadan ko'p xarfli so'zlarni teskari ko'rinishiga keltirishi kerak. Masalan:
Input 1: "Bu python dasturlash tili" Output 1: "Bu nohtyp hsalrutsad tili"
Ko'rib turganingizdek, bu yerdagi gapda - faqatgina harflar soni 4tadan ko'p bo'lgan so'zlar teskarisiga almashtirilgan (python ➡️ nohtyp), agar so'zdagi harflar soni 4ta yoki undan kam bo'lsa so'z o'zgartirilmaydi!
Input 2: "Men uyga ketdim" Output 2: "Men uyga midtek"
Durov said on his Telegram channel today that the two and a half year blockchain and crypto project has been put to sleep. Ironically, after leaving Russia because the government wanted his encryption keys to his social media firm, Durov’s cryptocurrency idea lost steam because of a U.S. court. “The technology we created allowed for an open, free, decentralized exchange of value and ideas. TON had the potential to revolutionize how people store and transfer funds and information,” he wrote on his channel. “Unfortunately, a U.S. court stopped TON from happening.”
Traders also expressed uncertainty about the situation with China Evergrande, as the indebted property company has not provided clarification about a key interest payment.In economic news, the Commerce Department reported an unexpected increase in U.S. new home sales in August.Crude oil prices climbed Friday and front-month WTI oil futures contracts saw gains for a fifth straight week amid tighter supplies. West Texas Intermediate Crude oil futures for November rose $0.68 or 0.9 percent at 73.98 a barrel. WTI Crude futures gained 2.8 percent for the week.